<template>
  <div class="goods">
    <goods-list-item2 v-for="(item,id) in goods" :item="item" :key="id"/>
  </div>
</template>

<script>
import GoodsListItem2 from './GoodsListItem2'
export default {
  name:"GoodsList",
  components: {
    GoodsListItem2
  },
  props: {
    goods:{
      type:Array,
      default(){
        return []
      }
    }
  }
}
</script>

<style scoped>
  .goods{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
</style>